package ch11.d4;

public class Test3 {
    public static void main(String[] args) throws InterruptedException {
        Cat cat = new Cat();
        Mouse mouse = new Mouse();
        mouse.start();

        Thread.sleep(4000);

        cat.catchMouse(mouse);
        cat.start();

    }
}
